html, body {
    margin: 0;
    height: 100%;
}

body {
    background: black;
    display: flex;
    flex-flow: column;
}

body > div {
    flex: 1;
    display: flex;
}

#header, #content, #navigation, #sidebar, #footer {
    background: white;
    display: flex;
    border-radius: 10px;
    margin: 5px;
    padding: 5px;
}

#header, #footer {
    justify-content: center;
    flex-flow: column;
    text-align: center;
}

#header {
    height: 10%;
}

#content {
    flex: 1;
    overflow-y: scroll;
}

#navigation {
    background: rgba(0, 0, 0, 0);
    display: flex;
    height: 5%;
    text-align: center;
    justify-content: center;
}

#sidebar {
    order: -1;
    width: 5%;
}

#footer {
    height: 5%;
}

table, table tr {
    border: 1px solid black;
}

table #row-0 td {
    vertical-align: top;
}

#new-bar-grid {
    width: 100%;
}

#description {
    height: 16px;
    margin-top: 2px;
}

#description:focus {
    height: 100px;
    width: 400px;
}

#button-wrapper {
    padding-top: 4px;
}

#add-row-btn{
    background: url("../images/add.png") no-repeat;
}

#reset-btn, #refresh-btn {
    background: url("../images/reset.png") no-repeat;
}

#run-sql-btn {
    background: url("../images/run-sql.png") no-repeat;
}

.delete-row-btn, #delete-btn{
    background: url("../images/delete.png") no-repeat;
}

.button {
    width: 20px;
    height: 20px;
    border: none;
    outline: 0;
}

.disabled {
    opacity: 0.4;
}

#navigation span {
    justify-content: center;
    cursor: pointer;
}

#navigation span:hover {
    text-decoration: underline;
    font-size: 110%;
    color: darkslategray;
}